<!DOCTYPE HTML>
<script>
// Make sure touch top window location first, get the hook to inject function.
window.top.location;

Object.prototype.fail = function() {
  alert('FAIL!');
};
</script>
